package com.tbit.uqbike.webmanager.dao.log;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tbit.config.datasource.DataSource;
import com.tbit.uqbike.object.pojo.Accountweather;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.*;

/**
 * 区域天气记录(Accountweather)表数据库访问层
 *
 * @author shanyong.mo
 * @since 2025-03-10 11:36:13
 */
@Mapper
@Repository
@DS(DataSource.LOG)
public interface AccountweatherDao {

    /**
     * 查询指定行数据
     *
     * @param accountId 区域Id
     * @param startDate      筛选开始时间
     * @param endDate       筛选结束
     * @return 对象列表
     */
    List<Accountweather> queryAllByLimit(@Param("accountId") Integer accountId,
                                         @Param("startDate") Date startDate, @Param("endDate") Date endDate);

}

